<template>
  <a href="javascript:;" class="go-back" @click="goBack"></a>
</template>

<script>
  export default {
    name: 'go-back',
    methods: {
      goBack () {
        this.$router.back()
      }
    }
  }
</script>

<style lang="scss" scoped>
.go-back{
  position:relative;
  display:block;
  width:44px;
  height:44px;
}
.go-back:before{
  content:'';
  position:absolute;
  top:50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-top: 2.5px solid #FEFEFE;
  border-left: 2.5px solid #FEFEFE;
  transform: translate(-50%, -50%) rotate(-45deg);
}
</style>
